<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link href="source/angular-ui-tree.css" type="text/css">
<script type="text/javascript" src="source/angular.js"></script>
<script type="text/javascript" src="../angularjsTree/source/main.js"></script>

<script type="text/javascript" src="treeapp.js"></script>
</head>
<body ng-app="MyApp" ng-controller="BasicExampleCtrl">
{{hello}}
<div ui-tree>

  <ol ui-tree-nodes="" ng-model="list">
    <li ng-repeat="item in list" ui-tree-node>
      <div ui-tree-handle>
        {{item.title}}
      </div>
      <ol ui-tree-nodes="" ng-model="item.items">
        <li ng-repeat="subItem in item.items" ui-tree-node>
          <div ui-tree-handle>
            {{subItem.title}}
          </div>
        </li>
      </ol>
    </li>
  </ol>
</div>
</body>
</html>